Skip to content

London | 26-March-SDC | Ammad Ur Rehman | Sprint 5 | Prep Exercises#542

Open
anosidium wants to merge 9 commits into
CodeYourFuture:mainfrom
anosidium:prep-exercises
Open

London | 26-March-SDC | Ammad Ur Rehman | Sprint 5 | Prep Exercises#542
anosidium wants to merge 9 commits into
CodeYourFuture:mainfrom
anosidium:prep-exercises

Conversation

@anosidium

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Completed all the exercises.

@anosidium anosidium added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 28, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work, just a couple of areas to improve

Laptop(id=4, manufacturer="Apple", model="macBook", screen_size_in_inches=13, operating_system=OperatingSystem.MACOS),
]

# for person in people:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this code need to be here? Why is it commented out?

preferred_operating_system_input = input("Your preferred operating system (macOS, Ubuntu or Arch Linux): ")

try:
normalised_value = preferred_operating_system_input.strip()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way you could make the input validation a bit more forgiving here? e.g. what if I forget to capitalise something?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good expalantion

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants